package com.aya.export.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


// ExportConfig.java
@Configuration
@ConfigurationProperties(prefix = "export")
public class ExportConfig {
    private int maxMemoryRows = 500;   // SXSSF行阈值‌:ml-citation{ref="2,3" data="citationList"}
    private String ossEndpoint;        // OSS配置‌:ml-citation{ref="2,5" data="citationList"}
    // Getter/Setter省略


    public int getMaxMemoryRows() {
        return maxMemoryRows;
    }

    public void setMaxMemoryRows(int maxMemoryRows) {
        this.maxMemoryRows = maxMemoryRows;
    }

    public String getOssEndpoint() {
        return ossEndpoint;
    }

    public void setOssEndpoint(String ossEndpoint) {
        this.ossEndpoint = ossEndpoint;
    }
}
